Vue.prototype.$https=axios
var app = new Vue({
    el: "#app",
    data: {
        dataword: [],
        chooseArry: [
            '',
            '',
            '',
            '',
            '',
            '',
            ''
        ]
    },
    watch:{

    },
    mounted:function(){
    this.$https({
        method: 'post',
        url: './json/data.json',
        data: { //参数
            firstName: 'Fred',
            lastName: 'Flintstone'
        }
    }).then(function(response) {
        console.log(response);
        response = response.data;
        console.log(response.data.slice(''));
        this.dataword = response.data.slice('');

        // Vue.set(this.dataword, response.data.slice(''))
        // this.dataword = response.data.slice('');
        console.log(app.dataword);
        console.log(dataword);
        // context.add2container();
    }).catch(function(error) {
        console.log(error);
    });
    },
    methods: {
        getWord: function() {

        }
    }})
